package com.zhy.deploy.config;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class AppConfig implements Serializable {
    private static final long serialVersionUID = 922124502443462017L;

    private List<AppGroup> appGroups;

    @Data
    public class AppGroup implements Serializable{
        private static final long serialVersionUID = -2152099159230510790L;

        private String name;

        private String appName;

        private String workDir;

        private String pomDir;

        private List<App> apps;
    }


    @Data
    public class App implements Serializable{
        private static final long serialVersionUID = 3031932873774079215L;

        private String ip;

        private String pord;

        private String interfaceName;

    }
}
